package p.lodz.pl.poid.zad2;

import java.io.IOException;
import javafx.application.Application;
import javafx.stage.Stage;

/**
*
 * @author janiu
 */
public class Main extends Application {
    
    private final String UI_DEFININITION = "view/resources/MainWindow.fxml";
    
    @Override
    public void start(Stage stage) throws IOException {
        Loader loader =  new Loader(UI_DEFININITION, Main.class);       
        stage.setScene(loader.getScene());
        stage.show();
    }
    
    public static void main(String[] args) {
        launch(args);
    }
    
}
